const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userTnfo.staffPhoto,
  mobile: state => state.user.userTnfo.mobile,
  name: state => state.user.userTnfo.username,
  dept: state => state.user.userTnfo.departmentName, // 登录人部门
  work: state => state.user.userTnfo.workNumber

}
export default getters
